import request from '@/utils/request'

export function autoLogin(code) {
  return request({
    url: `/userSsoAth/login/${code}`,
    method: 'post'
  })
}

export function getInfo() {
  return request({
    url: '/userSsoAth/info',
    method: 'post'
  })
}

export function logout() {
  return request({
    url: '/userSsoAth/logout',
    method: 'post'
  })
}

